﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:CoreGallery_Visualization="clr-namespace:CoreGallery.Visualization"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    x:Class="CoreGallery.Visualization.ThumbnailViewerUserControl"
    Margin="5,5,5,5" x:Name="ThumbnailViewerUserControl1" xmlns:System="clr-namespace:System;assembly=mscorlib" Background="#FF000000">
	<UserControl.Resources>
		<DataTemplate x:Key="ThumbnailDataTemplate">
			<CoreGallery_Visualization:ThumbnailUserControl Width="100" Height="100"/>
		</DataTemplate>
		<ItemsPanelTemplate x:Key="ThumbnailItemsPanelTemplate">
			<WrapPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Top" IsItemsHost="True"/>
		</ItemsPanelTemplate>
	</UserControl.Resources>
	<ScrollViewer Background="#FFFFFFFF">
		<ListBox x:Name="ThumbnailListBox" ItemTemplate="{DynamicResource ThumbnailDataTemplate}" ItemsPanel="{DynamicResource ThumbnailItemsPanelTemplate}" >
			<System:String>test1</System:String>
			<System:String>test2</System:String>
			<System:String>test3</System:String>
		</ListBox>
	</ScrollViewer>
</UserControl>
